﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="customers_edit.aspx.cs" Inherits="LinkCard.AdminCP.CRM.customers_edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <script type="text/javascript">
         var $j = jQuery.noConflict(); //set no conflict so you can use with MS AJAX.
         $j(document).ready(function () {
             //Set first 2 number of card reader by city
             //Gen Key
             $j("#<%=ExpiredDate.ClientID %>").datepicker();
         });
         </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <section id="content">
        <section class="container_12 clearfix">
            <section id="main" class="grid_12">
                <article>
                    <div class="h1">Cập nhật khách hàng</div>

                    <dl class="inline">
                       <%-- <dt>
                            <label>Tên đăng nhập:</label>
                        </dt>
                        <dd>
                            <input type="text" class="medium" id="Username" runat="server" readonly />
                        </dd>--%>
                        <dt>
                            <label>Họ và tên:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="Fullname" runat="server" />
                        </dd>
                        <dt>
                            <label>Số thẻ (Tên đăng nhập):</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="CardNumber" runat="server" />
                        </dd>
                        <dt>
                            <label>Mật khẩu:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="Password" runat="server" />
                        </dd>
                        <%--<dt>
                            <label>Hạng thẻ:</label>
                        </dt>
                        <dd>
                            <select id="CardLevel" runat="server" class="medium required">
                                <option value='1'>Gold</option>
                                <option value='2'>Diamond</option>
                                <option value='3'>Platinum</option>
                            </select>
                        </dd>--%>
                        <dt>
                            <label>Số thẻ GLP:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="VietnamAirlineGLPNumber" runat="server" />
                        </dd>
                      
                        <dt>
                            <label>Ngày hết hạn:</label>
                        </dt>
                        <dd>
                            <input type="text" id="ExpiredDate" runat="server" />
                            <asp:CheckBox ID="ckNoExpiredDate" runat="server" />
                            Không giới hạn
                        </dd>
                          <dt>
                            <label>Số điểm tích lũy:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="Point" runat="server" readonly />
                        </dd>

                        <dt>
                            <label>Ngày sinh:</label>
                        </dt>
                        <dd>
                            <input type="text" id="Birthday" runat="server" />
                        </dd>
                        <dt>
                            <label>Số CMTND:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="ID" runat="server" />
                        </dd>
                        <dt>
                            <label>Giới tính:</label>
                        </dt>
                        <dd>
                            <asp:RadioButtonList ID="Gender" runat="server" RepeatColumns="3">
                                <asp:ListItem Text="Nam" Value="0"></asp:ListItem>
                                <asp:ListItem Text="Nữ" Value="1"></asp:ListItem>
                                <asp:ListItem Text="Khác" Value="2"></asp:ListItem>
                            </asp:RadioButtonList>
                        </dd>
                        <dt>
                            <label>Điện thoại di động:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="MobilePhone" runat="server" />
                        </dd>
                        <dt>
                            <label>Email:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="Email" runat="server" />
                        </dd>
                        <dt>
                            <label>Địa chỉ:</label>
                        </dt>
                        <dd>
                            <textarea class="big" rows="4" id="Address" runat="server"></textarea>
                        </dd>
                        <dt>
                            <label>Nghề nghiệp:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="Job" runat="server" />
                        </dd>
                        <dt>
                            <label>Thu nhập:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="Income" runat="server" />
                        </dd>
                        <dt>
                            <label>Thông tin khác:</label>
                        </dt>
                        <dd>
                            <textarea class="big" rows="4" id="OtherInfo" runat="server"></textarea>
                        </dd>
                       <%-- <dt>
                            <label>Tags:</label>
                        </dt>
                        <dd>
                            <input type="text" class="medium" id="txtTags" runat="server" />
                        </dd>--%>
                        <dt>
                            <label>Số tiền đã giao dịch:</label>
                        </dt>
                        <dd>
                            <input type="text" class="big" id="TransactionAmount" runat="server" readonly value="0" />
                        </dd>
                        <dt>
                            <label>Hệ thống đăng ký:</label>
                        </dt>
                        <dd>
                            <asp:RadioButtonList ID="SystemRegister" runat="server" RepeatColumns="3">
                                <asp:ListItem Text="Online" Value="0"></asp:ListItem>
                                <asp:ListItem Text="Qua cửa hàng" Value="1"></asp:ListItem>
                                <asp:ListItem Text="Trực tiếp từ TopLink" Value="2"></asp:ListItem>
                            </asp:RadioButtonList>
                        </dd>
                    </dl>
                    <p>
                        <input type="hidden" id="CustomerID" runat="server" />
                        <input type="hidden" id="Status" runat="server" />
                        <asp:Button class="button big" Text="Duyệt" ID="btnAccept" runat="server"
                            OnClick="btnAccept_Click" Style="width: auto;" />
                        <asp:Button class="button white" Text="Từ chối" ID="btnDrop" runat="server"
                            OnClick="btnDrop_Click" />
                        <asp:Button class="button big" Text="Chuyển duyệt" ID="btnPublish" runat="server"
                            OnClick="btnPublish_Click" Style="width: auto;" />
                        <asp:Button class="button big" Text="Lưu tạm" ID="btnUpdate" runat="server"
                            OnClick="btnUpdate_Click" Style="width: auto;" />
                        <asp:Button class="button white" Text="Xóa" ID="btnDel" runat="server"
                            OnClick="btnDel_Click" />
                    </p>

                </article>
            </section>
        </section>
    </section>
</asp:Content>
